Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support for sarif reporting #20

Closed
wants to merge 2 commits into from
Closed

Added support for sarif reporting #20

wants to merge 2 commits into from

Conversation

Barroqueiro
Copy link

Hi!

Fixed the issue I created here, following the work done on your docker-bandit repository, I added support for sarif reporting within this image of ESLint.

Reporting in sarif for the current directory can be done with the following command

docker run -it --rm -v $(pwd):/data cytopia/eslint -f @microsoft/eslint-formatter-sarif <file_here > -o /data/<output_file_here>

Hope this can be integrated into the project.

Thank you!

@Barroqueiro Barroqueiro closed this by deleting the head repository Mar 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants